package com.dnjn.happiness.common.core.model;

import com.dnjn.happiness.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.time.LocalDate;

/**
 * <p>
 * 站点 二级部门单拉出来做站点
 * </p>
 *
 * @author Amber
 * @since 2023-10-05
 */
public class SysSiteVO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * PK
     */

    @JsonSerialize(using = ToStringSerializer.class)
    private Long siteId;

    private String siteName;

    private LocalDate currDate;

    private String addressline;

    /**
     * sys_dept.dept_id
     */
    private Long deptId;

    /**
     * 平均快乐值
     */
    private Integer avgScore;

    private  Integer numberOfPeople;

    /**
     * 是否删除|0-否 1-是|valid
     */
    private String deleted;

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public LocalDate getCurrDate() {
        return currDate;
    }

    public void setCurrDate(LocalDate currDate) {
        this.currDate = currDate;
    }

    public String getAddressline() {
        return addressline;
    }

    public void setAddressline(String addressline) {
        this.addressline = addressline;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Integer getAvgScore() {
        return avgScore;
    }

    public void setAvgScore(Integer avgScore) {
        this.avgScore = avgScore;
    }

    public Integer getNumberOfPeople() {
        return numberOfPeople;
    }

    public void setNumberOfPeople(Integer numberOfPeople) {
        this.numberOfPeople = numberOfPeople;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    public SysSiteVO() {
    }

    public SysSiteVO(Long siteId, String siteName, LocalDate currDate, String addressline, Long deptId, Integer avgScore, Integer numberOfPeople, String deleted) {
        this.siteId = siteId;
        this.siteName = siteName;
        this.currDate = currDate;
        this.addressline = addressline;
        this.deptId = deptId;
        this.avgScore = avgScore;
        this.numberOfPeople = numberOfPeople;
        this.deleted = deleted;
    }
}
